Optimal. Leaf size=42 \[ \frac{b^2 \log (x)}{a^3}-\frac{b^2 \log (a+b x)}{a^3}+\frac{b}{a^2 x}-\frac{1}{2 a x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0175658, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {44} \[ \frac{b^2 \log (x)}{a^3}-\frac{b^2 \log (a+b x)}{a^3}+\frac{b}{a^2 x}-\frac{1}{2 a x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rubi steps
\begin{align*} \int \frac{1}{x^3 (a+b x)} \, dx &=\int \left (\frac{1}{a x^3}-\frac{b}{a^2 x^2}+\frac{b^2}{a^3 x}-\frac{b^3}{a^3 (a+b x)}\right ) \, dx\\ &=-\frac{1}{2 a x^2}+\frac{b}{a^2 x}+\frac{b^2 \log (x)}{a^3}-\frac{b^2 \log (a+b x)}{a^3}\\ \end{align*}
Mathematica [A] time = 0.0097045, size = 42, normalized size = 1. \[ \frac{b^2 \log (x)}{a^3}-\frac{b^2 \log (a+b x)}{a^3}+\frac{b}{a^2 x}-\frac{1}{2 a x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 41, normalized size = 1. \begin{align*} -{\frac{1}{2\,a{x}^{2}}}+{\frac{b}{{a}^{2}x}}+{\frac{{b}^{2}\ln \left ( x \right ) }{{a}^{3}}}-{\frac{{b}^{2}\ln \left ( bx+a \right ) }{{a}^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.04497, size = 54, normalized size = 1.29 \begin{align*} -\frac{b^{2} \log \left (b x + a\right )}{a^{3}} + \frac{b^{2} \log \left (x\right )}{a^{3}} + \frac{2 \, b x - a}{2 \, a^{2} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.59182, size = 103, normalized size = 2.45 \begin{align*} -\frac{2 \, b^{2} x^{2} \log \left (b x + a\right ) - 2 \, b^{2} x^{2} \log \left (x\right ) - 2 \, a b x + a^{2}}{2 \, a^{3} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.50212, size = 31, normalized size = 0.74 \begin{align*} \frac{- a + 2 b x}{2 a^{2} x^{2}} + \frac{b^{2} \left (\log{\left (x \right )} - \log{\left (\frac{a}{b} + x \right )}\right )}{a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1739, size = 61, normalized size = 1.45 \begin{align*} -\frac{b^{2} \log \left ({\left | b x + a \right |}\right )}{a^{3}} + \frac{b^{2} \log \left ({\left | x \right |}\right )}{a^{3}} + \frac{2 \, a b x - a^{2}}{2 \, a^{3} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]